import 'package:flutter/material.dart';
import 'package:get/get.dart';

class GetXCountController extends GetxController {
  RxInt counter = 0.obs;

  inc(){
    counter.value++;
    update();
  }
  dec(){
    counter.value--;
    update();
  }
}